import {
    Spu
} from "../../model/spu.js"
Page({

    data: {
        spu: null
    },


    onLoad: async function(options) {
        const pid = options.pid
        const spu = await Spu.getDetail(pid)
        this.setData({
            spu
        })
    },

    onReady: function() {},


    onShow: function() {},


    onHide: function() {},


    onUnload: function() {

    },


    onPullDownRefresh: function() {

    },


    onReachBottom: function() {

    },


    onShareAppMessage: function() {

    }
})